package com.its.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 朱厚强
 * @since 2023年12月27日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("hup_region")
@ApiModel(value = "HupRegion对象", description = "地区表")
@ToString
public class HupRegion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("父id")
    @TableField("pid")
    private Integer pid;

    @ApiModelProperty("简称")
    @TableField("shortname")
    private String shortname;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("全称")
    @TableField("merger_name")
    private String mergerName;

    @ApiModelProperty("层级 1 2 3 省市区县")
    @TableField("level")
    private Integer level;

    @ApiModelProperty("拼音")
    @TableField("pinyin")
    private String pinyin;

    @ApiModelProperty("长途区号")
    @TableField("code")
    private String code;

    @ApiModelProperty("邮编")
    @TableField("zip_code")
    private String zipCode;

    @ApiModelProperty("首字母")
    @TableField("first")
    private String first;

    @ApiModelProperty("经度")
    @TableField("lng")
    private String lng;

    @ApiModelProperty("纬度")
    @TableField("lat")
    private String lat;


}
